﻿<Window x:Class="TCPPeer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:TCPPeer"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Button x:Name="button" Content="创建服务端" HorizontalAlignment="Left" Margin="43,110,0,0" VerticalAlignment="Top" Width="133" Height="34" Click="button_Click"/>
        <Button x:Name="button1" Content="创建客户端" HorizontalAlignment="Left" Margin="48,40,0,0" VerticalAlignment="Top" Width="128" Height="32" Click="button1_Click"/>
        <TextBlock x:Name="远程IP" HorizontalAlignment="Left" Margin="181,54,0,0" TextWrapping="Wrap" Text="远程IP" VerticalAlignment="Top"/>
        <TextBox x:Name="ipip" HorizontalAlignment="Left" Height="23" Margin="221,46,0,0" TextWrapping="Wrap" Text="127.0.0.1" VerticalAlignment="Top" Width="120" RenderTransformOrigin="1.49,0.63"/>
        <TextBlock x:Name="远程IP_Copy" HorizontalAlignment="Left" Margin="347,54,0,0" TextWrapping="Wrap" Text="远程端口" VerticalAlignment="Top"/>
        <TextBox x:Name="portp" HorizontalAlignment="Left" Height="23" Margin="400,46,0,0" TextWrapping="Wrap" Text="60001" VerticalAlignment="Top" Width="59" RenderTransformOrigin="1.49,0.63"/>

    </Grid>
</Window>
